<HTML>
<HEAD>
<STYLE>
SPAN.printMessage {
	FONT-SIZE: 12pt; FONT-FAMILY: Arial, Helvetica, sans-serif
}
</STYLE>
<SCRIPT language="Javascript">
<!--
function check(obj) {
	return !obj.disabled;
}
function toggleRangeFields(obj) {
	if( obj.id == "radio1") {
		document.Export.from.disabled = true;
		document.Export.to.disabled = true;
	}
	else {
		document.Export.from.disabled = false;
		document.Export.to.disabled = false;
	}
	return check(obj);
}
function isValidNumber(number) {
	var nonDigit = /\D+/;
	if( nonDigit.test(number) || number == '0' || number == "") {
		return false;
	}
	return true;
}
function checkValuesAndSubmit() {
	if( document.Export.isRange[1].checked ) {
		if (!isValidNumber(document.Export.from.value) || !isValidNumber(document.Export.to.value) || (parseInt(document.Export.from.value, 10) > parseInt(document.Export.to.value, 10))) {
			alert("The page range value(s) are incorrect.  Please enter a valid page range.");
			return;
		}
	}
	document.Export.action = opener.document.getElementById('crystal_handler_page').value;
	document.Export.submit();
	document.getElementById("submitexport").disabled = true;
}
function init() {
	document.getElementById('reportsource').value = opener.document.getElementById('crystal_print_rptsrc').value;
	document.getElementById('viewstate').value = opener.document.getElementById('crystal_print_vs').value;
}
//-->
</SCRIPT>
<TITLE>Print the Report</TITLE>
</HEAD>
<BODY bottomMargin=0 topMargin=5 onLoad="init()">
<FORM name="Export" method="POST">
<INPUT type="hidden" name="reportsource" id="reportsource"/>
<INPUT type="hidden" name="viewstate" id="viewstate"/>
<INPUT type="hidden" name="exportformat" id="exportformat" value="PDF"/>
<TABLE cellSpacing=0 cellPadding=3 width='103%' align=center border=0>
<TBODY>
<TR bgColor=#008080><TD>&nbsp;</TD></TR>
<TR bgColor=#000000><TD>&nbsp;</TD></TR>
<TR>
<TD align=middle>
<SPAN class=printMessage><BR>Enter the page range that you would like to Print.</SPAN>
</TD>
</TR>
<TR>
<TD>
<TABLE>
<TR>
<TD><INPUT type='radio' id='radio1' name='isRange' value='all' onclick="return toggleRangeFields(this);"/></TD>
<TD><SPAN class=printMessage><LABEL for=radio1>All</LABEL></SPAN></TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD>
<TABLE>
<TR>
<TD><INPUT type='radio' id='radio2' checked name='isRange' value='selection' onclick="return toggleRangeFields(this);"/></TD>
<TD><SPAN class=printMessage><LABEL for=radio2>Pages</LABEL></SPAN></TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD>
<TABLE>
<TR>
<TD>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
<TD><SPAN class=printMessage><LABEL for=from>From:</LABEL></SPAN></TD>
<TD><INPUT type='text' width='20' size='6' maxLength='6' name='from' value=1></TD>
<TD><SPAN class=printMessage><LABEL for=to>To:</LABEL></SPAN></TD>
<TD><INPUT type='text' width='20' size='6' maxLength='6' name='to' value=1></TD>
</TR>
</TABLE>
</TD>
</TR>
<TR height=40 valign="bottom">
<TD><SPAN class=printMessage>To Print:</SPAN></TD>
</TR>
<TR valign="top">
<TD><SPAN class=printMessage>1.  In the next dialog that appears, select the "Open this file" option and click the OK button.</TD>
</TR>
<TR height=40 valign="top">
<TD><SPAN class=printMessage>2.  Click the printer icon on the Acrobat Reader Menu rather than the print button on your internet browser.</SPAN></TD>
</TR>
<TR>
<BR><TD align=center colspan=6><INPUT type='button' id="submitexport" width='30' value='Print' onclick="checkValuesAndSubmit();"/></TD>
</TR>
</TBODY>
</TABLE>
</FORM>
</BODY>
</HTML>